﻿//=====================================================================================================
// LocalizationLibrary
// The Localization Library is a collection of reusable software components that provide 
// support for localization. This library enables you to localize WPF, Silverlight and WP7 applications.
// (http://localizationlibrary.codeplex.com)
//=====================================================================================================
// Author: Nicola Gallo (Website: www.nicola.gallo.name, Email: nicolagmt@hotmail.it) 
//=====================================================================================================

namespace LocalizationLibrary.Tests.Core.Attributes
{
    //.NET References
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    //LocalizationLibrary References
    using LocalizationLibrary.Attributes;
    
    //Microsoft References
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    [TestClass]
    public class OnPropertyChangeMethodAttributeTest
    {
        [TestMethod]
        public void New_Instance_Should_Assigns_All_Properties()
        {
            String propertyName = Guid.NewGuid().ToString();
            OnPropertyChangeMethodAttribute instance = new OnPropertyChangeMethodAttribute(propertyName);
            Assert.AreEqual(instance.ParameterName, propertyName);
        }
    }
}
